﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using System.Drawing;
using System.Drawing.Drawing2D;

namespace sp500
{
    class PolyLinePicture
    {
        private Pen m_bluePen = new Pen(Color.Blue,1);
        private Graphics m_dc;
        Point[] m_inputxyList;

        public PolyLinePicture(Graphics dc, Point[] inputxylist)
        {
            m_dc = dc;
            m_inputxyList = inputxylist;
        }

        void draw()
        {
            m_dc.DrawLines(m_bluePen, m_inputxyList);
        }

    }
}
